package com.data.modules.online.cgform.enhance.impl;

import java.util.ArrayList;
import java.util.List;

import com.data.modules.online.cgform.enhance.CgformEnhanceJavaListInter;
import com.data.modules.online.config.exception.BusinessException;
import org.springframework.stereotype.Component;

@Component("cgformEnhanceQueryDemo")
public class CgformEnhanceQueryDemo implements CgformEnhanceJavaListInter {
    @Override
    public void execute(java.lang.String r6, java.util.List<java.util.Map<java.lang.String, java.lang.Object>> r7) throws BusinessException {
        /*
            r5 = this;
            java.util.List r2 = r5.m135a()
            java.util.Iterator r3 = r7.iterator()
        L_0x0008:
            boolean r0 = r3.hasNext()
            if (r0 == 0) goto L_0x0042
            java.lang.Object r0 = r3.next()
            java.util.Map r0 = (java.util.Map) r0
            java.lang.String r1 = "province"
            java.lang.Object r1 = r0.get(r1)
            if (r1 == 0) goto L_0x0008
            java.util.stream.Stream r4 = r2.stream()
            r1 = move-result
            java.util.stream.Stream r1 = r4.filter(r1)
            r4 = move-result
            java.util.stream.Stream r1 = r1.map(r4)
            java.util.Optional r1 = r1.findAny()
            java.lang.String r4 = ""
            java.lang.Object r1 = r1.orElse(r4)
            java.lang.String r1 = (java.lang.String) r1
            java.lang.String r4 = "province"
            r0.put(r4, r1)
            goto L_0x0008
        L_0x0042:
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.data.modules.online.cgform.enhance.impl.CgformEnhanceQueryDemo.execute(java.lang.String, java.util.List):void");
    }

    private List<C0002a> m135a() {
        ArrayList arrayList = new ArrayList();
        arrayList.add(new C0002a("bj", "北京"));
        arrayList.add(new C0002a("sd", "山东"));
        arrayList.add(new C0002a("ah", "安徽"));
        return arrayList;
    }


    /* compiled from: CgformEnhanceQueryDemo */
    public class C0002a {

        String f133a;

        String f134b;

        public C0002a(String str, String str2) {
            this.f133a = str;
            this.f134b = str2;
        }

        public String mo406a() {
            return this.f133a;
        }

        public String mo407b() {
            return this.f134b;
        }
    }
}
